import request from "@/common/request"

//生成树示例分页展示
export const temptreeTree = (queryForm) => {
    return request("get", "/temp/tempTree/tree", queryForm);
}
//生成树示例列表展示
export const temptreeList = (queryForm) => {
    return request("get", "/temp/tempTree/list", queryForm);
}
//生成树示例详情
export const temptreeInfo = (id) => {
    return request('get', '/temp/tempTree/info', {
        id: id
    })
}
//生成树示例信息保存
export const temptreeSave = (data) => {
    return request('post', '/temp/tempTree/save', data)
}
//生成树示例信息修改
export const temptreeEdit = (data) => {
    return request('post', '/temp/tempTree/edit', data)
}
//生成树示例信息删除
export const temptreeDel = (id) => {
    return request('post', '/temp/tempTree/delete?id=' + id)
}
//生成树示例批量删除
export const temptreeDelBatch = (ids) => {
    return request('post', '/temp/tempTree/deleteBatch', ids)
}
//生成树示例动态表头导出
export const temptreeDynamicExport = (data) => {
    return request("eptpost", '/temp/tempTree/exportDynamic', data)
}
